package com.ccrfid.rmc6.pojo.dto;

import com.ccrfid.rmc6.entity.alarm.AlarmRuleEntity;
import com.ccrfid.rmc6.entity.poi.PoiLocationEntity;

import java.util.List;

public class LocationAlarmRuleDto {
    private PoiLocationEntity location;
    private List<AlarmRuleEntity> alarmRules;

    public LocationAlarmRuleDto() {
    }

    public LocationAlarmRuleDto(PoiLocationEntity location, List<AlarmRuleEntity> alarmRules) {
        this.location = location;
        this.alarmRules = alarmRules;
    }

    public PoiLocationEntity getLocation() {
        return location;
    }

    public void setLocation(PoiLocationEntity location) {
        this.location = location;
    }

    public List<AlarmRuleEntity> getAlarmRules() {
        return alarmRules;
    }

    public void setAlarmRules(List<AlarmRuleEntity> alarmRules) {
        this.alarmRules = alarmRules;
    }
}
